package adt.runlikehell;

import adt.runlikehell.RunLikeHellView.RLHThread;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;

public class RunLikeHellActivity extends Activity implements View.OnClickListener {
	
	private RLHThread rlhThread;
	
	private RunLikeHellView rlhview;
    
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        try {
			this.requestWindowFeature(Window.FEATURE_NO_TITLE);
			getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			Log.e("", "fuck yeah e: "+e.toString());
		}
        
        setContentView(R.layout.main);
        
        this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        
        
        rlhview = (RunLikeHellView)findViewById(R.id.RunLikeHellView);
        rlhThread = rlhview.getThread();
    }

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
	}
    
}